package com.huaqing.users;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: javatrainingfirstweek
 * @Description: 游戏用户
 * @author: Mr.Cheng
 * @date: 2022/4/24 2:14 下午
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private String ip;
    private String name;

    //super(name)
    public User(String name) {
        this.name = name;
    }
}
